package com.itheima.test4;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;

/**
 * @Author:gy
 * @Date: 2025/08/28 14:54
 * @Description:
 */
public class Demo1 {
    public static void main(String[] args) throws Exception {
        //写数据  字节输出流
        FileOutputStream fos = new FileOutputStream("D:\\班级\\93期\\day10-IO\\测试\\cc.txt");
        fos.write("你好".getBytes());
        fos.close();
    }
}
